<?

set_include_path ("{$_SERVER["DOCUMENT_ROOT"]}:" .
		get_include_path ());
set_include_path ("{$_SERVER["DOCUMENT_ROOT"]}/include:" .
		get_include_path ());
set_include_path ("{$_SERVER["DOCUMENT_ROOT"]}/event_management:" .
		get_include_path ());
set_include_path ("{$_SERVER["DOCUMENT_ROOT"]}/event_management/include:" .
		get_include_path ());

require_once ("main.include.inc");

global $_OBJECT_IFACE;
global $_GLOBAL_DBH;
global $_OBJECT_IFACE_DISPLAY;
global $_OBJECT_IFACE_PANEL;

$_OBJECT_IFACE_PANEL = _app_create_iface_panel ();

$_OBJECT_IFACE_DISPLAY->insert_container ($_OBJECT_IFACE_PANEL);

list ($_OITC, $_OIT, $_OITP) = array (
		$_OBJECT_IFACE_TABBING_CONTAINER,
		$_OBJECT_IFACE_TABBING,
		$_OBJECT_IFACE_TABBING_PANEL);

list ($_OBJECT_IFACE_TABBING_CONTAINER, $_OBJECT_IFACE_TABBING,
	$_OBJECT_IFACE_TABBING_PANEL) = _app_create_tabbing_container (array (
		tc_tabbing_id=>"tc_eve_man"
));

$_OBJECT_IFACE_PANEL->insert_container ($_OBJECT_IFACE_TABBING_CONTAINER);
$_OBJECT_IFACE_TABBING_CONTAINER->insert_container ($_OBJECT_IFACE_TABBING);
$_OBJECT_IFACE_TABBING_CONTAINER->insert_container ($_OBJECT_IFACE_TABBING_PANEL);

if (!$_REQUEST["fs_tab"] || $_REQUEST["fs_tab"] == "eve_man_types") {

	if ($_REQUEST["fs_tab_option"] == "fs_eve_man_types") {

		require_once ("fs_eve_man_types.inc");
	} else require_once ("lc_eve_man_types.inc");
} elseif ($_REQUEST["fs_tab"] == "eve_man_status") {

	if ($_REQUEST["fs_tab_option"] == "fs_eve_man_status") {

		require_once ("fs_eve_man_status.inc");
	} else require_once ("lc_eve_man_status.inc");
}

$_OBJECT_TABBING = _app_create_tabbing_object ( array (

	fs_tab_id => "fs_tab",
	fs_tab_default => "eve_man_types",
	fs_tab_hide_one => true,
	fs_tabs => array (
		array (label=>"Types", fs_tab=>"eve_man_types",wrapper=>"vmc_tab_eve_man_types",
				options=>"fs_action=view"),
		array (label=>"Status", fs_tab=>"eve_man_status",wrapper=>"vmc_tab_eve_man_status",
				options=>"fs_action=view"),
	),
));

$_OBJECT_IFACE_TABBING->insert_container ($_OBJECT_TABBING);
$_OBJECT_IFACE->show_container ();

?>
